package com.happycat.social.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 语音聊天室房间 -- 修改Dto
 * 
 * @author jsonbin
 * @date 2020-09-10
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
public class SocialVoiceRoomUpdateDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id", required = true)
    @NotNull(message = "房间不能为空")
    private Long id;

    @ApiModelProperty(value = "房间分类,若为官方请必传")
    private Long roomCategoryId;

    @ApiModelProperty(value = "房间名称")
    @NotBlank(message = "房间名不能为空")
    private String name;

    @ApiModelProperty(value = "房间简介")
    private String introduction;

    @ApiModelProperty(value = "房间欢迎语")
    private String welcomeDesc;

    @ApiModelProperty(value = "房间图")
    private String thumbnail;

    @ApiModelProperty(value = "房间头像")
    private String avatar;

}
